package cn.sciento.websocket.vo;

public class UserVO {
    private String sessionId;

    private Long tenantId;

    private Long roleId;

    private String accessToken;

    private String brokerId;

    public UserVO() {
    }

    public UserVO(String sessionId, Long tenantId, Long roleId, String accessToken, String brokerId) {
        this.sessionId = sessionId;
        this.tenantId = tenantId;
        this.roleId = roleId;
        this.accessToken = accessToken;
        this.brokerId = brokerId;
    }

    public String getSessionId() {
        return this.sessionId;
    }

    public UserVO setSessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

    public Long getTenantId() {
        return this.tenantId;
    }

    public UserVO setTenantId(Long tenantId) {
        this.tenantId = tenantId;
        return this;
    }

    public Long getRoleId() {
        return this.roleId;
    }

    public UserVO setRoleId(Long roleId) {
        this.roleId = roleId;
        return this;
    }

    public String getAccessToken() {
        return this.accessToken;
    }

    public UserVO setAccessToken(String accessToken) {
        this.accessToken = accessToken;
        return this;
    }

    public String getBrokerId() {
        return this.brokerId;
    }

    public UserVO setBrokerId(String brokerId) {
        this.brokerId = brokerId;
        return this;
    }

    public String toString() {
        return "UserVO{sessionId='" + this.sessionId + '\'' + ", tenantId=" + this.tenantId + ", roleId=" + this.roleId + ", accessToken='" + this.accessToken + '\'' + ", brokerId='" + this.brokerId + '\'' + '}';
    }
}
